package com.tx.websocket.demo.common;

public enum ResourceEnum {
    MODULE(0, "模块"),
    ITEM(1, "条目"),
    BUTTON(2, "按钮");

    private Integer value;
    private String desc;

    private ResourceEnum(Integer value, String desc) {
        this.value = value;
        this.desc = desc;
    }

    public Integer getValue() {
        return value;
    }

    public String getDesc() {
        return desc;
    }
}
